#!/bin/bash
alkuhetki=$(date +%s.%N)
for n in {1..100000}; do
  read -t 0.001; while $RESULT ; do read -t 0.001; done
done
echo "työ kesti: "$(echo $(date +%s.%N)-$alkuhetki | bc)
